// ------------------------------------------------------------------------------
// name: 大屏中间数据
// author: cookie( h5devs.com/h5devs.net )
// created: 2018/12/1 22:30
// ------------------------------------------------------------------------------
// state
const State = {
  commData: []
};

// getters
const Getters = {
  commData: state => state.commData
};

// mutations
const Mutations = {
  setSource(state, commData) {
    state.commData = commData;
  }
};

// actions
const Actions = {
  setCommData({ commit }, commData) {
    commit('setSource', commData);
  }
};

export default {
  namespaced: true,
  strict: true,
  state: State,
  getters: Getters,
  actions: Actions,
  mutations: Mutations
};
